package wolf.iu.framework;

import org.objectweb.asm.tree.ClassNode;

public class ClassContainer {
	ClassNode node;
	ClassContainer(final ClassNode cNode) {
		this.node = cNode;
	}
	
	public String getName() {
	    return this.node.name;
	}
	
	public String getSimpleName() {
	    final String origName = getName();
	    if (!origName.contains("/"))
            return origName;
	    return origName.substring(origName.lastIndexOf("/"));
	}
	
	public ClassNode getNode() {
	    return this.node;
	}
}
